Integrand size = 10, antiderivative size = 10 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {\cos (x)}{1+\sin (x)} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3244, 2727} \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {\cos (x)}{\sin (x)+1} \]
[In]
[Out]
Rule 2727
Rule 3244
Rubi steps \begin{align*} \text {integral}& = \int \frac {1}{1+\sin (x)} \, dx \\ & = -\frac {\cos (x)}{1+\sin (x)} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(23\) vs. \(2(10)=20\).
Time = 0.03 (sec) , antiderivative size = 23, normalized size of antiderivative = 2.30 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=\frac {2 \sin \left (\frac {x}{2}\right )}{\cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )} \]
[In]
[Out]
Time = 0.21 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.10
method | result | size |
default | \(-\frac {2}{\tan \left (\frac {x}{2}\right )+1}\) | \(11\) |
risch | \(-\frac {2}{i+{\mathrm e}^{i x}}\) | \(13\) |
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.80 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {\cos \left (x\right ) - \sin \left (x\right ) + 1}{\cos \left (x\right ) + \sin \left (x\right ) + 1} \]
[In]
[Out]
\[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=\int \frac {\sec {\left (x \right )}}{\tan {\left (x \right )} + \sec {\left (x \right )}}\, dx \]
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.50 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {2}{\frac {\sin \left (x\right )}{\cos \left (x\right ) + 1} + 1} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {2}{\tan \left (\frac {1}{2} \, x\right ) + 1} \]
[In]
[Out]
Time = 22.47 (sec) , antiderivative size = 10, normalized size of antiderivative = 1.00 \[ \int \frac {\sec (x)}{\sec (x)+\tan (x)} \, dx=-\frac {2}{\mathrm {tan}\left (\frac {x}{2}\right )+1} \]
[In]
[Out]